require_relative '../node_modules/react-native/scripts/react_native_pods'
require_relative '../node_modules/@react-native-community/cli-platform-ios/native_modules'
source 'https://github.com/CocoaPods/Specs.git'

platform :ios, '11.0'

target 'Daymak' do
  config = use_native_modules!
	
  # pod 'RNGestureHandler', :path => "../node_modules/react-native-gesture-handler"
  use_react_native!(
    :path => config[:reactNativePath],
    # to enable hermes on iOS, change `false` to `true` and then install pods
    :hermes_enabled => false
  )

  # Enables Flipper.
  #
  # Note that if you have use_frameworks! enabled, Flipper will not work and
  # you should disable the next line.
#  use_flipper!({ ‘Flipper-Folly’ => ‘2.5.1’ })

  pod 'react-native-webview', :path => '../node_modules/react-native-webview'

  post_install do |installer|
    react_native_post_install(installer)
  end
  
  permissions_path = '../node_modules/react-native-permissions/ios'
  pod 'Permission-BluetoothPeripheral', :path => "#{permissions_path}/BluetoothPeripheral"
  pod 'FBReactNativeSpec', :path => "../node_modules/react-native/React/FBReactNativeSpec"

end
